Working with Performance Monitoring Functions

You can use the Performance Monitoring tool to monitor various activities such as CPU or memory usage on a computer. The functions in the Performance Monitoring tool determine the cause of a problem on a local or remote system by measuring the performance of hardware, software services and applications. To use the Performance Monitoring functions, you need to configure a Data Collector Set, which is used to store the data collected by the tool.

See .Performance Monitor Library Objects.

The CollectorInfo business Type provided by the Direct.Perfmon.Library.dll in your Designer represents the Data Collector Set in the Performance Monitoring tool. You need to configure the following properties of CollectorInfo to enable data collection:

Name Type Description
Name Text

Name of the Data Collector Set.

Example: MySampleCollector

OutputPath Text

The location where the log files will be saved. Default value is the current working directory.

TimeInterval

Decimal

Interval in seconds after which the Performance Monitoring tool starts monitoring the performance of a process or a machine.